package com.hh.shirojwt.service.impl;

import com.hh.shirojwt.config.JwtUtil;
import com.hh.shirojwt.service.LoginService;
import org.springframework.stereotype.Service;

@Service
public class LoginServiceImpl implements LoginService {
    @Override
    public boolean login(String username, String password) {
        return true;
    }

    @Override
    public String creatJwtTokne(String username) {
        return JwtUtil.sign("zwh","ABC");
    }
}
